<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="avicit.platform6.commons.utils.ViewUtil"%>
<%@ taglib prefix="sec" uri="/WEB-INF/tags/shiro.tld"%>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>设置生成方式</title>
<base href="<%=ViewUtil.getRequestPath(request)%>">
<jsp:include
	page="/avicit/platform6/component/common/EasyUIJsInclude.jsp"></jsp:include>
<script type="text/javascript"
	src="avicit/cbb/techclass/tabledefine/commtablemanager/table_node_record_set_config_tjsc_manager.js"></script>
<jsp:include
	page="/avicit/platform6/modules/system/commonpopup/commonSelectionHead.jsp"></jsp:include>
<jsp:include page="/avicit/im/common/ImUIJSCSSInclude.jsp"></jsp:include>
	<link href="static/css/custom/lantop/css/custom.css" type="text/css"  rel="stylesheet">
<script type="text/javascript">
	var baseurl = '<%=request.getContextPath()%>';
	$(function() {
		dialogId = "${dialogId}"; //打开页面传递的模块ID
		sysId = "${sysId}";
		nodeId = "${nodeId}";
		tableName = "${tableName}";
		colGeneMethodSelect = "${colGeneMethodSelect}";
		colGeneMethodRule = '${colGeneMethodRule}';
		operation = "${operation}";
		config = "${config}";
		describtion = "${describtion}";
		colType = "${colType}";
		describtionEdit = "${describtionEdit}";
		title = "${title}";
		groupSelect1 = "${select1}";
		groupInput1 = "${input1}";
		groupSelect2 = "${select2}";
		groupInput2 = "${input2}";
		groupSelect3 = "${select3}";
		//控件填值
		$("#operate").combobox('select', operation);
		$("#describe").val(describtion);
	});
</script>
</head>
<body>
	<div class="easyui-panel" data-options="fit:true">
		<div class="formExtendBase">
			<form id="formConfig" method="post">
				<input name="id" id="id" value="${cbbTabcolumns.id}" type="hidden" />
				<sec:accesscontrollist hasPermission="3"
					domainObject="commtempletmanager_table_node_record_set_config_form_colIsVisible">
					<div class="formUnit column1" id="labelDiv"
						style="display: block; height: 50px">
						<label>${cbbTabcolumns.colLabel } =</label>
						<div class="inputContainer">
							<input class="easyui-combobox" name="operate" id="operate"
								style="width: 80px;"
								data-options="panelHeight:'auto', valueField: 'lookupCode',textField: 'lookupName',data: [{lookupName: '第一个',lookupCode: '1'},{lookupName: '最后一个',lookupCode: '2'},{lookupName: '最大的',lookupCode: '3'},{lookupName: '最小的',lookupCode: '4'},{lookupName: '求和',lookupCode: '5'}],editable:false,onSelect:onselectOperate" />
							<input class="easyui-validatebox" title='配置字段' type="text"
								name="colValueName" id="colValueName"
								value="${requestScope.config}"
								style="width: 400px; margin-top: 3px" readonly="readonly" /> <img
								src="avicit/platform6/component/css/commonselection/icons_ext/selectorCommon.gif"
								style="display: block; z-index: 800; position: absolute; float: right; top: 5px; cursor: pointer; right: 204px;"
								onclick="editForm()" />
						</div>
					</div>
				</sec:accesscontrollist>
				<sec:accesscontrollist hasPermission="3"
					domainObject="commtempletmanager_table_node_record_set_config_form_colIsVisible">
					<div id="valueDiv" class="formUnit column1" style="display: block">
						<label for="describe">中文描述：</label>
						<div class="inputContainer">
							<div title='中文描述' id="describe" style="margin-top: 5px"></div>
						</div>
					</div>
				</sec:accesscontrollist>
			</form>
		</div>
		<div id="toolbar"
			 style="position: absolute;bottom: 0;left: 0;width: 100%;padding:10px;box-sizing:border-box;">
			<table class="tableForm" border="0" cellspacing="1" width="100%">
				<tr>
					<td align="center"><sec:accesscontrollist hasPermission="3"
							domainObject="commtempletmanager_table_node_record_set_config_btn_saveButton">
							<a id="saveButton" class="easyui-linkbutton selbtnc" iconCls="icon-im-save"
								onclick="saveForm();" href="javascript:void(0);">保存</a>
						</sec:accesscontrollist> <sec:accesscontrollist hasPermission="3"
							domainObject="commtempletmanager_table_node_record_set_config_btn_resetButton">
							<a id="backButton" class="easyui-linkbutton selbtnc" iconCls="icon-im-back"
								onclick="closeWindow();" href="javascript:void(0);">返回</a>
						</sec:accesscontrollist></td>
				</tr>
			</table>
		</div>
	</div>
</body>
</html>